
        <div class="crumbs">
                <h2>搜索结果：{$seo_title} <samp>找到<span style="color:#f00;">{$jgcount}</span>个："{$seo_title}"相关结果</samp></h2>
        </div>
<div class="main">

 <?php if($list){?> 
    <div class="left">

        <!-- 内容 -->
        <ul class="ui_results">
         <volist name="list" id="v">
            <li>
                <div class="ui_user">
                     <a href="index.php?m=User&a=index&id={$v.id}"> <img src="{$v.avatar}" alt="" /></a>
                    <h3>{$v['username']}</h3>
                    <p>所在地区： {$v['province']|jgarea=###} {$v['city']|jgarea=###} 作品 {$v.case_num}套</p>
                     <?php $itemType=explode(",",$v['itemType']);$c="0" ?>
                    <p>擅长空间：  <YP:list name="Label" where="genre=17" id="r" limit="50">
                                   {if in_array($r['id'],$itemType)}
                                              {if $c<3}
                                                 {if $c!=0}|{/if}
                                                   {$r['title']}
                                               {/if}
                                               {if $c==3}
                                                   <a style=" color:#F90;" href="index.php?m=User&a=index&id={$v.id}">更多</a>
                                               {/if}        
                                                   <?php $c+=1;?>
                                    {/if}
                               </YP:list></p>
                    <p>预约数:</p>
                    <p>{$v.yuyue_num}</p>
                </div>
                <div class="ui_piesc">
                    <span><YP:list name="Type" order="typeid" where="keyid=34" id="val" limit="50">
                            <?php echo $v['charge'] == $val['typeid'] ? $val['name'] : ''; ?>
                        </YP:list></span>元/m²
                    <a  href="http://wpa.qq.com/msgrd?v=3&amp;uin={$site_qq}&amp;site=www.cactussoft.cn&amp;menu=yes" target="_blank">现在咨询</a>
                </div>
                <div class="clear"></div>
                <div class="ui_bottom">
               <?php $arr=M('Case')->field('id,thumb_list')->where("userid=".$v['id'])->order('id desc')->limit('2')->select();
                          foreach($arr as $k=>$v){
                            ?>
                            <a href="/index.php?m=Case&a=show&id={$v['id']}"><img src="{$v['thumb_list']}" width="358" height="168" alt="" style="margin:0px 30px;" </a>
                            <?php } ?>
                            
                        
                   
                   
                </div>
            </li>
           </volist>
            
            
        </ul>

        <ul class="paging" style=" height:30px; text-align:center">
            <ul style="position: relative; left:50%">
           {$pages}
           </ul>
        </ul>
    </div>
 <?php }else{?> 

<div class="left" style=" height:200px; font-size:24px; color:#999; text-align:center">


    <ul class="case" id="{}" style="margin-top:100px;">
     对不起，没有找到：{$seo_title}的相关结果
    </ul>
</div>
<?php }?> 
    
    
    
    <div class="right">
       
        <ul class="bigName">
        <h6> 推荐设计师</h6>
          
          
          <?php $result=M('User')->where('pos_hot')->order("pos_time desc")->limit('4')->select();
          foreach($result as $k=>$r){
          ?>
            <li>
                <a href="index.php?m=User&a=index&id={$r.id}">
                 <img src="{$r.avatar}" />
                 <p>设计师：{$r.username}</p>
                 <p>所在地： {$r['province']|jgarea=###} {$r['city']|jgarea=###}</p>
                 <p>预约数：{$r.yuyue_num}</p>
                 <p>擅长空间：
                           <?php $itemType1=explode(",",$r['itemType']); $d=0; ?>
                            <YP:list name="Label" where="genre=17" id="v" limit="50">
                             
                             {if (in_array($v['id'],$itemType1))}
                                      {if $d < 2}
                                          {if ($d!=0)}|{/if}
                                             {$v['title']}
                                          {/if} 
                                       {if $d==2}
                                                   <span style="color:#F90;" > 更多</span>
                                               {/if}      
                                      <?php $d+=1;?>
                              {/if}
                            </YP:list></p>
                 
                </a>
            </li>
           <?php } ?>
        </ul>
    </div>
    <div class="clear"></div>
</div>





